package com.yg.ssm.util;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Created by Administrator on 2016/8/29.
 */
public class DateUtil {
    /**
     * @param:
     * @return: String
     * @format: 2016-08-09 11:11:01
     */
    public static String GetCurrentTime() {
        SimpleDateFormat sf = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
        return sf.format(new Date());
    }
}
